package com.bigmi.common.smsTemplate;



import com.bigmi.common.smsTemplate.properties.SmsProperties;
import com.bigmi.common.smsTemplate.template.SendSms;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@EnableConfigurationProperties({
        SmsProperties.class
})
public class TanhuaAutoConfiguration {
    @Bean
    public SendSms sendSms(SmsProperties properties){
        return new SendSms(properties);
    }
}
